import React, { Component } from 'react';
import { Routes, Route } from 'react-router-dom';

import Film from '../views/Film';
import Cinema from '../views/Cinema';
import Center from '../views/Center';

export default class index extends Component {
  render() {
    return (
      <Routes>
        <Route
          path="/film"
          Component={Film}
        />
        <Route
          path="/cinema"
          Component={Cinema}
        />
        <Route
          path="/center"
          Component={Center}
        />
      </Routes>
    );
  }
}
